home *** CD-ROM | disk | FTP | other *** search
- seg_a segment byte public
- assume cs:seg_a, ds:seg_a
-
-
- org 100h
-
- lalala proc far
- start:
- mov ah,9
- mov dx,offset data_1 ; ('')
- int 21h ; DOS Services ah=function 09h
- ; display char string at ds:dx
- mov ah,0Ah
- mov dx,offset data_5
- int 21h ; DOS Services ah=function 0Ah
- ; get keybd line, put at ds:dx
-
- mov di,offset hehe
- label_1:
-
- ;;;
- xor dx,dx ; Zero register
- mov cl,data_6
- mov si,offset data_7
-
- locloop_2:
- mov dl,[si]
- mov al,[di]
- xor al,dl
- mov [di],al
- inc si
- inc di
- add count2,al
- loop locloop_2 ; Loop if cx > 0
- inc count
- cmp count,10
- jnz label_1
-
- cmp count2,047h
- je loc_3 ; Jump if equal
-
- mov ah,9
- mov dx,offset data_3 ; ('')
- int 21h ; DOS Services ah=function 09h
- ; display char string at ds:dx
- int 20h ; DOS program terminate
-
- ;---
- data_1 db '■ AntiSmEX v2.0 (x)''98 by Shaman [UCL]', 0Dh, 0Ah
- db '■ Enter password: $'
- data_3 db 0Dh, 0Ah, '■ Wrong!', 0Dh,0Ah, '$'
-
- count db 0
- count2 db 0
-
- ;---
- loc_3:
- hehe: db 0cfh,9dh,75h,82h,0dbh,0c4h,4fh,5ah,0aah,82h,0d5h,6dh,83h,4eh
- db 0b9h,62h,6ch,6eh,0b0h,4fh,30h,2dh,0fh,1,6fh,62h,7eh,0bch,41h
- db 29h,2fh,6,18h,62h,0ch,1,74h,4fh,3,2ah,12h,0ch,2fh,2,15h,2ch
- db 21h,0dh,20h,0eh,19h,27h,4fh,7,21h,2,79h,48h,45h
-
- data_5 db 64
- data_6 db 0
- data_7 db 5 dup (0)
-
-
- lalala endp
-
- seg_a ends
-
-
-
- end start
-
-